{**
 * acctCN/index.tpl: menu form
 *}

{strip}
{assign var="pageTitleTranslated" value=$siteTitle}
{include file="common/header.tpl"}
{/strip}

{if $journalDescription}
	<div>{$journalDescription}</div>
{/if}


{if $homepageImage}
<div id="homepageImage"><img src="{$publicFilesDir}/{$homepageImage.uploadName|escape:"url"}" width="{$homepageImage.width|escape}" height="{$homepageImage.height|escape}" {if $homepageImageAltText != ''}alt="{$homepageImageAltText|escape}"{else}alt="{translate key="common.journalHomepageImage.altText"}"{/if} /></div>
{/if}

{if $additionalHomeContent}
<br />
{$additionalHomeContent}
{/if}

<div id = mymain" >
<form method="post" id="formsubmit"  action="{url  op='CTTMTG'}" >

{assign var=dateExpire value=$smarty.now}
{assign var=thisyear value=$smarty.now|date_format:"%Y"}
{assign var=yearOffsetFuture value= $thisyear+20}
{assign var=yearOffsetPast value= $thisyear-20}

<br>
{if $CN_SecDetail=="CN_TMTG"}

<table class="menu" style = "width: 70%;  margin-left:15%; margin-right:15%; border-width: medium; ; border-style: outset; " >
<tr style="height: 10px;">
<th width = "25%"> </th>
<th width = "25%"> </th>
<th width = "25%"> </th>
<th width = "25%"> </th>
</tr>
<tr rowspan = "2">
	<td colspan = "4" style = "text-align: center; valign: center; text-transform: uppercase;"><strong >C&#7853;p Nh&#7853;t ch&#7913;ng t&#7915;: {$CN_Title}</strong></td>
</tr>
<tr style="height: 10px;"> </tr>

<tr rowspan = "2">
	<td></td>
	<td class = "top" colspan = "2" >Năm l&#224;m vi&#7879;c: 
	{html_select_date prefix="dateExpire1" all_extra="class=\"selectMenu\""  day_extra= 1 display_days = 0 display_months = 0 start_year="-5" end_year="+5" time="$ngay"}
	</td>
</tr>

<tr  >	
	<td></td>
	<td class = "row" colspan = "2"><strong>Lo&#7841;i ti&#7873;n:</strong>
	<select name="mant" id="mant" size="1" class="selectMenu">{html_options options=$dmntf selected=$LoaiTien}</select>
	</td>
</tr>
	<tr><td></td>
	<td class = "top" colspan = "2" style= "text-align: left; padding: 0px 20px " ><input type="radio" name="ChiTiet" id="ChiTiet1" value="1-TTM" {if $sttChiTiet ==1} checked="checked"{/if}>
	<label for="ChiTiet1">Phi&#7871;u thu ti&#7873;n m&#7863;t </label></td>
	</tr>

	<tr><td></td>
	<td class = "row" colspan = "2" style= "text-align: left; padding: 0px 20px " ><input type="radio" name="ChiTiet" id="ChiTiet2"  value="2-CTM"  {if $sttChiTiet ==2} checked="checked"{/if}>
	<label for="ChiTiet2">Phi&#7871;u chi ti&#7873;n m&#7863;t </label></td>
	</tr>

	<tr><td></td>
	<td class = "row" colspan = "2" style= "text-align: left; padding: 0px 20px " ><input type="radio" name="ChiTiet" id="ChiTiet3" value="3-TTG" {if $sttChiTiet ==3} checked="checked"{/if} >
	<label for="ChiTiet3">Thu ti&#7873;n ng&#226;n h&#224;ng</label></td>
	</tr>

	<tr><td></td>
	<td class = "row" colspan = "2" style= "text-align: left; padding: 0px 20px " ><input type="radio" name="ChiTiet" id="ChiTiet4" value="4-CTG" {if $sttChiTiet ==4} checked="checked"{/if} >
	<label for="ChiTiet4">Chi ti&#7873;n ng&#226;n h&#224;ng</label><td>
	</tr>

	<tr style="height: 10px;"><td></td>
	<td class = "bottom" colspan = "2"  > </td>
	</tr>

	<tr style="height: 10px;">
	</tr>


	<tr height = "70px" valign = "center"><td></td>
		<td colspan="1" valign = "center" style= "text-align: left; padding: 0px 20px "><input type="submit" id="Mode"  name = "Mode" value="Th&#234;m ch&#7913;ng t&#7915;" class="defaultButton" /></td>
		<td colspan="1" valign = "center" style= "text-align: left; padding: 0px 20px "><input type="submit" id="List" name = "List"  value="Xem -S&#7917;a CT&#7915;" class="defaultButton" /></td>
	</tr>
	<tr style="height: 10px;">
	</tr>

</table>
{elseif $CN_SecDetail=="CN_BANHANGCNO"}
<table>
	<tr>
	<td><input type="radio" name="ChiTiet" value="1" checked="checked"> </td>
	<td><label for="ChiTiet">Ho&#225; &#273;&#417;n b&#225;n h&#224;ng</label></td>
	</tr>

	<tr>
	<td><input type="radio" name="ChiTiet" value="2" >
	<td><label for="ChiTiet">Ho&#225; &#273;&#417;n d&#7883;ch v&#7909; ph&#7843;i thu</label>
	</tr>

	<tr>
	<td><input type="radio" name="ChiTiet" value="3" >
	<td><label for="ChiTietN">B&#249; tr&#7915; c&#244;ng n&#7907;</label>
	</tr>
	<tr>
	<td><input type="radio" name="ChiTiet" value="4" >
	<td><label for="ChiTiet">Phi&#7871;u nh&#7853;p h&#224;ng ho&#225; b&#7883; tr&#7843; l&#7841;i</label>
	</tr>

	<tr>
	<td><input type="radio" name="ChiTiet" value="5" >
	<td><label for="ChiTietN">Ho&#225; &#273;&#417;n ki&#234;m v&#7853;n chuy&#7875;n n&#7897;i b&#7897;</label>
	</tr>
	<tr>
	<td><input type="radio" name="ChiTiet" value="6" >
	<td><label for="ChiTiet">Ho&#225; &#273;&#417;n xu&#7845;t kh&#7849;u</label>
	</tr>

	<tr>
	</tr>
	
	<tr>
		<td colspan="2"><input type="button" id="formsubmit"  value="Th&#7921;c hi&#7879;n" class="button" /></td>
	</tr>

	<tr>
	</tr>

</table>

{elseif $CN_SecDetail=="CN_MUAHANGCNO"}
<table>
	<tr>
	<td><input type="radio" name="ChiTiet" value="1" checked="checked"> </td>
	<td><label for="ChiTiet">Phi&#7871;u nh&#7853;p mua</label></td>
	</tr>

	<tr>
	<td><input type="radio" name="ChiTiet" value="2" >
	<td><label for="ChiTiet">Phi&#7871;u nh&#7853;p kh&#7849;u</label>
	</tr>

	<tr>
	<td><input type="radio" name="ChiTiet" value="3" >
	<td><label for="ChiTietN">Phi&#234;u nh&#7853;p chi ph&#237; mua h&#224;ng</label>
	</tr>
	<tr>
	<td><input type="radio" name="ChiTiet" value="4" >
	<td><label for="ChiTiet">Phi&#7871;u thanh to&#225;n t&#7841;m &#7913;ng</label>
	</tr>

	<tr>
	<td><input type="radio" name="ChiTiet" value="5" >
	<td><label for="ChiTietN">Phi&#7871;u nh&#7853;p xu&#7845;t th&#7859;ng</label>
	</tr>
	<tr>
	<td><input type="radio" name="ChiTiet" value="6" >
	<td><label for="ChiTiet">Phi&#7871;u xu&#7845;t tr&#7843; l&#7841;i nh&#224; cung c&#7845;p</label>
	</tr>

	<tr>
	</tr>
	
	<tr>
		<td colspan="2"><input type="button" id="formsubmit"  value="Th&#7921;c hi&#7879;n" class="button" /></td>
	</tr>
</table>

{/if}
</form>
</div>


{if $enableAnnouncementsHomepage}
{* Display announcements *}
<div id="announcementsHome">
	<h3>{translate key="announcement.announcementsHome"}</h3>
	{include file="announcement/list.tpl"}	
	<table class="announcementsMore">
		<tr>
			<td><a href="{url page="announcement"}">{translate key="announcement.moreAnnouncements"}</a></td>
		</tr>
	</table>
</div>
{/if}

{if $issue && $currentJournal->getSetting('publishingMode') != $smarty.const.PUBLISHING_MODE_NONE}
	{* Display the table of contents or cover page of the current issue. *}
	<br />
	<h3>{$issue->getIssueIdentification()|strip_unsafe_html|nl2br}</h3>
	{include file="issue/view.tpl"}
{/if}
{include file="common/footer.tpl"}



